package com.zzw.basic.io;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

/**
 * @author zzw
 * @see
 * @since 2018/3/26
 */
public class TypeToChar {
    public static void main(String[] args) throws IOException {
        InputStream in = System.in;
        InputStreamReader isr = new InputStreamReader(in);
        BufferedReader br = new BufferedReader(isr);
        String line = null;
        byte[] b = new byte[1024];
        while ((line = br.readLine()) != null){
            //in.read(b,0,line.length());
            //System.out.println("b:" + b);
            System.out.println("line:" + line);
            if("over".equals(line)){
                break;
            }
        }
    }
}
